package cn.initcap.designpattern.pattern.structural.bridge;

/**
 * @author initcap
 * @date 2018/8/28 AM9:10
 */
public class AbcBaseBank extends BaseBank {

    public AbcBaseBank(Account account) {
        super(account);
    }

    @Override
    Account openAccount() {
        System.out.println("打开中国农业银行账号");
        account.openAccount();
        return account;
    }
}
